﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true" CodeBehind="wFrmManualesPartesVehiculos.aspx.cs" Inherits="Crosland.Automotriz.Web.Repuestos.wFrmManualesPartesVehiculos" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxTabControl"
    TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxClasses"
    TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors"
    TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxGridView"
    TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxPopupControl"
    TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxTimer" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxDataView"
    TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
    <style type="text/css">
        .filas
        {
            padding: 0.65em 0.75em;
        }
    </style>
    <script language="javascript" type="text/javascript">
    // <![CDATA[
        function redireccionar() {
            location.href = "wFrmManualesImagenSistema.aspx";
        }
        function OnGridFocusedRowChanged() {
            gvsistema.GetRowValues(gvsistema.GetFocusedRowIndex(), 'DES_IMAGEN', OnGetRowValues);
        }
        function OnGetRowValues(values) {
            imagen.SetImageUrl("/Archivos Imagen/" + values)
        }
    // ]]>
    </script>
    <script type="text/javascript">
        function pageLoad() {
            var control = document.getElementById('ctl00_cphMain_hfIndicador');
            cambiarImagenHeader();
            if (control.value === 'S') {
                $find('<%= ((AjaxControlToolkit.CollapsiblePanelExtender)this.Master.FindControl("cpeMenuGeneral")).BehaviorID %>')._doClose();
                control.value = 'N';
            }
        }
        function url() {
            open('wFrmManualesImagenSistema.aspx', 'NewWindow', 'top=0,left=0,width=1000,height=680,status=yes,resizable=yes,scrollbars=yes');
        }
    </script>
    <div class="main-header" style="width: 100%">
        <div class="main-titulo" style="width: 89%;">
            Manuales</div>
        <table align="center">
            <tr>
                <td>
                    <dx:ASPxButton ID="btnSalir" runat="server" Text="Salir" OnClick="btnSalir_Click" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Height="20px">
                    </dx:ASPxButton>
                </td>
            </tr>
        </table>
    </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="content-form">
                <asp:HiddenField ID="hfIndicador" runat="server" Value="S" />
                <table>
                    <tr>
                        <td class="filas">
                            <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="Tipo rueda:" Width="75px">
                            </dx:ASPxLabel>
                        </td>
                        <td class="filas">
                            <dx:ASPxComboBox ID="cboTipoRueda" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" Spacing="0" SelectedIndex="0"
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                <Items>
                                    <dx:ListEditItem Text="2R" Value="2R" />
                                    <dx:ListEditItem Text="3R" Value="3R" />
                                    <dx:ListEditItem Text="4R" Value="4R" />
                                </Items>
                                <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                </LoadingPanelImage>
                                <LoadingPanelStyle ImageSpacing="5px">
                                </LoadingPanelStyle>
                                <ButtonStyle Width="13px">
                                </ButtonStyle>
                            </dx:ASPxComboBox>
                        </td>
                        <td class="filas">
                            <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="Marca :" Width="50px">
                            </dx:ASPxLabel>
                        </td>
                        <td class="filas">
                            <dx:ASPxComboBox ID="cboMarca" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                </LoadingPanelImage>
                                <LoadingPanelStyle ImageSpacing="5px">
                                </LoadingPanelStyle>
                                <ButtonStyle Width="13px">
                                </ButtonStyle>
                            </dx:ASPxComboBox>
                        </td>
                        <td class="filas">
                            <dx:ASPxButton ID="btnFiltral" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" OnClick="btnFiltral_Click"
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Filtrar" Width="100px" AutoPostBack="False">
                            </dx:ASPxButton>
                        </td>
                    </tr>
                </table>
                <dx:ASPxPageControl ID="PCTab" runat="server" ActiveTabIndex="0" Width="100%" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" TabSpacing="0px" Style="margin-right: 0px" OnTabClick="PCTab_TabClick">
                    <TabPages>
                        <dx:TabPage Text="Modelo">
                            <ContentCollection>
                                <dx:ContentControl ID="ContentControl1" runat="server" SupportsDisabledAttribute="True">
                                    <dx:ASPxDataView ID="dvModeloImagen" runat="server" OnItemCommand="dvModeloImagen_ItemCommand" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                        CssPostfix="Office2010Blue" PagerPanelSpacing="0px" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" ItemSpacing="21px" AlwaysShowPager="True"
                                        RowPerPage="10" Width="100%">
                                        <ItemTemplate>
                                            <table>
                                                <caption>
                                                    <br />
                                                    <asp:LinkButton ID="btnDetalle" runat="server" CommandArgument='<%# Eval("ID_MODELO") + ";" +Eval("DES_MODELO")%>' CommandName="Delete" Text="Ver sistema" />
                                                </caption>
                                                <tr>
                                                    <td colspan="2">
                                                        <dx:ASPxImage ID="imgModelo" runat="server" Height="200px" ImageUrl='<%# ConfigurationManager.AppSettings["RutaFotoModelo"]+"/"+ Eval("DES_IMAGEN") %>'
                                                            Width="200px">
                                                        </dx:ASPxImage>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <b>Modelo:</b>
                                                    </td>
                                                    <td align="left">
                                                        <dx:ASPxLabel ID="lblde_mo" runat="server" Text='<%# Eval("DES_MODELO") %>'>
                                                        </dx:ASPxLabel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <b>Marca:</b>
                                                    </td>
                                                    <td>
                                                        <dx:ASPxLabel ID="lblde_ma" runat="server" Text='<%# Eval("DES_MARCA") %>'>
                                                        </dx:ASPxLabel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <b>Tipo rueda:</b>
                                                    </td>
                                                    <td>
                                                        <dx:ASPxLabel ID="lbltip_rueda" runat="server" Text='<%# Eval("TIP_NUM_RUEDA") %>' />
                                                    </td>
                                                </tr>
                                            </table>
                                        </ItemTemplate>
                                        <PagerSettings ShowNumericButtons="true">
                                            <AllButton Visible="False" />
                                            <Summary Visible="false" />
                                            <Summary Visible="False" />
                                        </PagerSettings>
                                        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                                        </LoadingPanelImage>
                                        <LoadingPanelStyle ImageSpacing="5px">
                                        </LoadingPanelStyle>
                                        <DisabledStyle ForeColor="#B2B7BD">
                                        </DisabledStyle>
                                    </dx:ASPxDataView>
                                </dx:ContentControl>
                            </ContentCollection>
                        </dx:TabPage>
                        <dx:TabPage Text="Sistema">
                            <ContentCollection>
                                <dx:ContentControl ID="ContentControl2" runat="server" SupportsDisabledAttribute="True">
                                    <dx:ASPxLabel ID="Modelo" runat="server" Text="Modelo:" Font-Names="Arial Black" Font-Size="10pt">
                                    </dx:ASPxLabel>
                                    &nbsp;
                                    <dx:ASPxLabel ID="lblModelo" runat="server" Font-Bold="False" Font-Size="8pt">
                                    </dx:ASPxLabel>
                                    <dx:ASPxGridView ID="gvsistema" runat="server" Width="100%" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" EnableCallBacks="False"
                                        KeyFieldName="ID_SISTEMA" OnFocusedRowChanged="gvsistema_FocusedRowChanged" AutoGenerateColumns="False" OnAfterPerformCallback="gvsistema_AfterPerformCallback"
                                        OnPageIndexChanged="gvsistema_PageIndexChanged" ClientInstanceName="gvsistema">
                                        <Columns>
                                            <dx:GridViewDataTextColumn Caption="Id" FieldName="ID_SISTEMA" ShowInCustomizationForm="True" VisibleIndex="0">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <CellStyle HorizontalAlign="Center">
                                                </CellStyle>
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn Caption="Descripción ingles" FieldName="DES_SISTEMA_INGLES" ShowInCustomizationForm="True" VisibleIndex="3">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <CellStyle HorizontalAlign="Center">
                                                </CellStyle>
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn Caption="Foto" ShowInCustomizationForm="True" VisibleIndex="6">
                                                <DataItemTemplate>
                                                    <dx:ASPxHyperLink ID="hplFoto" runat="server" Text='<%# (Eval("DES_IMAGEN").ToString().Length==0)? "NO": "SI"  %>' Cursor="pointer">
                                                        <ClientSideEvents Click="function(s, e) {PopupImagen.Show();}" />
                                                    </dx:ASPxHyperLink>
                                                </DataItemTemplate>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <CellStyle HorizontalAlign="Center">
                                                </CellStyle>
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="ID_MODELO" ShowInCustomizationForm="True" Visible="False" VisibleIndex="4">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn Caption="Descripción español" FieldName="DES_SISTEMA" ShowInCustomizationForm="True" VisibleIndex="2">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <CellStyle HorizontalAlign="Center">
                                                </CellStyle>
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="DES_IMAGEN" ShowInCustomizationForm="True" VisibleIndex="5" Visible="False">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn Caption="Nro. página" FieldName="NRO_PAGINA" ShowInCustomizationForm="True" VisibleIndex="1">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <CellStyle HorizontalAlign="Center">
                                                </CellStyle>
                                            </dx:GridViewDataTextColumn>
                                        </Columns>
                                        <SettingsBehavior AllowFocusedRow="True" ProcessFocusedRowChangedOnServer="True" />
                                        <SettingsPager PageSize="23">
                                        </SettingsPager>
                                        <Settings ShowFilterRow="True" />
                                        <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                            </LoadingPanelOnStatusBar>
                                            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                            </LoadingPanel>
                                        </Images>
                                        <ImagesFilterControl>
                                            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                            </LoadingPanel>
                                        </ImagesFilterControl>
                                        <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                            </Header>
                                            <LoadingPanel ImageSpacing="5px">
                                            </LoadingPanel>
                                        </Styles>
                                        <StylesPager>
                                            <PageNumber ForeColor="#3E4846">
                                            </PageNumber>
                                            <Summary ForeColor="#1E395B">
                                            </Summary>
                                        </StylesPager>
                                        <StylesEditors ButtonEditCellSpacing="0">
                                            <ProgressBar Height="21px">
                                            </ProgressBar>
                                        </StylesEditors>
                                    </dx:ASPxGridView>
                                </dx:ContentControl>
                            </ContentCollection>
                        </dx:TabPage>
                    </TabPages>
                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                    </LoadingPanelImage>
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                    <Paddings Padding="2px" PaddingLeft="5px" PaddingRight="5px" />
                    <ContentStyle>
                        <Paddings Padding="12px" />
                        <Border BorderColor="#859EBF" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                </dx:ASPxPageControl>
                <%--     <br />
                <br />
                <br />
                <br />
                <br />--%>
                <dx:ASPxPopupControl ID="PopupImagen" runat="server" 
                    ClientInstanceName="PopupImagen" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue"
                    HeaderText="Detalle del sistema" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                    AllowDragging="True" Modal="True" PopupHorizontalAlign="Center"
                    PopupVerticalAlign="TopSides" Width="800px" Height="600px" 
                    ShowPageScrollbarWhenModal="True" Theme="Office2010Blue">
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                        <%--<BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />--%>
                    </ContentStyle>
                    <HeaderStyle>
                        <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" PaddingTop="4px" />
                        <%--<Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" PaddingTop="4px" />--%>
                    </HeaderStyle>
                    <ContentCollection>
                        <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">
                            <div style="float: left; width: 70%;">
                                <table class="filas">
                                    <tr>
                                        <td>
                                            <dx:ASPxLabel ID="Modelo0" runat="server" Font-Names="Arial Black" Font-Size="10pt" Text="Modelo :">
                                            </dx:ASPxLabel>
                                            &nbsp;
                                        </td>
                                        <td colspan="2">
                                            <dx:ASPxLabel ID="lblModelo0" runat="server" Font-Bold="False" Font-Size="8pt">
                                            </dx:ASPxLabel>
                                        </td>
                                        <td>
                                            <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="Página Nro:" Font-Bold="True" Font-Names="Arial Black">
                                            </dx:ASPxLabel>
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        </td>
                                        <td>
                                            <dx:ASPxLabel ID="lblnropagina" runat="server" Font-Size="8pt">
                                            </dx:ASPxLabel>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Sistema:" Font-Names="Arial Black" Font-Size="10pt">
                                            </dx:ASPxLabel>
                                        </td>
                                        <td colspan="2" style="/*width: 300px;*/">
                                            <dx:ASPxLabel ID="lbldes_sistema" runat="server" Font-Size="8pt">
                                            </dx:ASPxLabel>
                                        </td>
                                        <%--<td>
                                            &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;<dx:ASPxLabel ID="lbldes_sistema0" runat="server" Font-Size="8pt">
                                            </dx:ASPxLabel>
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            &nbsp;&nbsp;
                                        </td>--%>
                                    </tr>
                                </table>
                            </div>
                            <div style="float: right; width: 30%;">
                                <table>
                                    <tr>
                                        <td class="filas">
                                            <dx:ASPxButton ID="btnSPagAnt" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                                Text="Anterior P&aacute;gina" Width="150px" OnClick="btnSPagAnt_Click">
                                            </dx:ASPxButton>
                                        </td>
                                        <td class="filas">
                                            <dx:ASPxButton ID="btnSPagSgte" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                                Text="Siguiente P&aacute;gina" Width="150px" OnClick="btnSPagSgte_Click">
                                            </dx:ASPxButton>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div style="clear: both;">
                                <table>
                                    <tr>
                                        <td valign="top">
                                            <div>
                                                <dx:ASPxImage ID="imagen" runat="server" ClientInstanceName="imagen" Height="500px" Width="500px" Cursor="pointer">
                                                    <ClientSideEvents Click="function(s, e) {url();}" />
                                                </dx:ASPxImage>
                                            </div>
                                        </td>
                                        <td align="justify" valign="top">
                                            <dx:ASPxGridView ID="gvPopDetalleArticulos" runat="server" AutoGenerateColumns="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                                Style="text-align: left" OnAfterPerformCallback="gvPopDetalleArticulos_AfterPerformCallback" KeyFieldName="NRO_ITEM_MANUAL">
                                                <Columns>
                                                    <dx:GridViewDataTextColumn Caption="Nro" FieldName="NRO_ITEM_MANUAL" ShowInCustomizationForm="True" VisibleIndex="0" Width="30px" FixedStyle="Left">
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                        <CellStyle HorizontalAlign="Center">
                                                        </CellStyle>
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn Caption="Código" FieldName="COD_MATERIAL" ShowInCustomizationForm="True" VisibleIndex="1" Width="70px" FixedStyle="Left">
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                        <CellStyle HorizontalAlign="Center">
                                                        </CellStyle>
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn Caption="Descripción ingles" ShowInCustomizationForm="True" VisibleIndex="7" FieldName="NOM_MATERIAL_INGLES" Width="200px">
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                        <CellStyle HorizontalAlign="Center">
                                                        </CellStyle>
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn Caption="Cantidad" FieldName="CANTIDAD" ShowInCustomizationForm="True" VisibleIndex="3" Width="60px" FixedStyle="Left">
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                        <CellStyle HorizontalAlign="Center">
                                                        </CellStyle>
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn Caption="Remark español" FieldName="REMARK_ESP" ShowInCustomizationForm="True" VisibleIndex="5" Width="110px">
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                        <CellStyle HorizontalAlign="Center">
                                                        </CellStyle>
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn Caption="Remark ingles" ShowInCustomizationForm="True" VisibleIndex="6" FieldName="REMARK_ING" Width="110px">
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                        <CellStyle HorizontalAlign="Center">
                                                        </CellStyle>
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn Caption="Nro. página" FieldName="NRO_PAGINA" ShowInCustomizationForm="True" VisibleIndex="4" Visible="False" Width="20px" FixedStyle="Left">
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                        <CellStyle HorizontalAlign="Center">
                                                        </CellStyle>
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn Caption="Descripción español" FieldName="NOM_MATERIAL_ESP" ShowInCustomizationForm="True" VisibleIndex="2" Width="200px" FixedStyle="Left">
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                        <CellStyle HorizontalAlign="Center">
                                                        </CellStyle>
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn Caption="Nro.item sist" FieldName="NRO_ITEM_SIST" ShowInCustomizationForm="True" Visible="False" VisibleIndex="8" Width="8px">
                                                    </dx:GridViewDataTextColumn>
                                                </Columns>
                                                <SettingsBehavior AllowFocusedRow="True" AllowSort="False" />
                                                <SettingsPager PageSize="1000">
                                                </SettingsPager>
                                                <Settings EnableFilterControlPopupMenuScrolling="True" ShowVerticalScrollBar="True" VerticalScrollableHeight="500" />
                                                <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                                    <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                                    </LoadingPanelOnStatusBar>
                                                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                                    </LoadingPanel>
                                                </Images>
                                                <ImagesFilterControl>
                                                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                                    </LoadingPanel>
                                                </ImagesFilterControl>
                                                <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                                                    <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                                    </Header>
                                                    <LoadingPanel ImageSpacing="5px">
                                                    </LoadingPanel>
                                                </Styles>
                                                <StylesPager>
                                                    <PageNumber ForeColor="#3E4846">
                                                    </PageNumber>
                                                    <Summary ForeColor="#1E395B">
                                                    </Summary>
                                                </StylesPager>
                                                <StylesEditors ButtonEditCellSpacing="0">
                                                    <ProgressBar Height="21px">
                                                    </ProgressBar>
                                                </StylesEditors>
                                            </dx:ASPxGridView>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </dx:PopupControlContentControl>
                    </ContentCollection>
                </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="pcMensaje" runat="server" AllowDragging="True" 
                    ClientInstanceName="pcMensajeP" CloseAction="None" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" PopupHorizontalAlign="WindowCenter"
                    PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="350px" 
                    AppearAfter="350" Theme="Office2010Blue">
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                        <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" PaddingTop="4px" />
                    </HeaderStyle>
                    <ContentCollection>
                        <dx:PopupControlContentControl ID="PopupControlContentControl10" runat="server" SupportsDisabledAttribute="True">
                            <dx:ASPxPanel ID="ASPxPanel9" runat="server" DefaultButton="btCreate">
                                <PanelCollection>
                                    <dx:PanelContent ID="PanelContent11" runat="server">
                                        <table width="100%">
                                            <tr>
                                                <td colspan="2" class="filas" align="center">
                                                    <dx:ASPxLabel ID="lblmsj" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                                                    </dx:ASPxLabel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center" class="filas">
                                                    <dx:ASPxButton ID="ASPxButton6" runat="server" Text="Aceptar" AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                                        Width="100px" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                                        <ClientSideEvents Click="function(s, e) {pcMensajeP.Hide();}" />
                                                    </dx:ASPxButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:PanelContent>
                                </PanelCollection>
                            </dx:ASPxPanel>
                        </dx:PopupControlContentControl>
                    </ContentCollection>
                </dx:ASPxPopupControl>
                <%--    <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />--%>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
